﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.Master" AutoEventWireup="true" CodeBehind="AsignarProfesor.aspx.cs" Inherits="vudu.PaginasWeb.G5Profesor.AgregarProfesor" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style13
        {
            width: 773px;
        }
        .style14
        {
            width: 234px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
<asp:Panel ID="Panel1" runat="server" BorderStyle="Solid" BorderWidth="1px">
      <table border="0" cellspacing="0" cellpadding="0" align="center" 
          style="width: 89%">
         <tr>
             <td>
                <a class="miga" href="../Home/HomeEscuela.aspx">Inicio</a>
                <a class="migaActual">></a>
                <a class="miga" href="AgregarProfesorPrincipal.aspx">Opciones de Agregar de Profesor</a>
                <a class="migaActual">></a>
                <asp:Label ID="MigaActual" runat="server" Text="Asignar Profesor a Escuela"></asp:Label>
                
                 &nbsp; 
            </td>
            <td align="right">   
                <a class="migaActual"><asp:Label ID="nombreEscuela" runat="server" 
                    Text="Escuela Ing. Informatica" ForeColor="Black" ></asp:Label></a>
                &nbsp;</td>
          </tr>
        </table>
        <table width="89%" border="0" cellspacing="0" cellpadding="0" align="center">
          <tr>
            <td colspan="2">
                <asp:ScriptManager ID="ScriptManager2" runat="server">
                </asp:ScriptManager>
              </td>
          </tr>
          <tr>
            <td colspan="2">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="2"><a class="tituloGeneral">Gestionar Profesor</a><a class="subtituloGeneral">Agregar Profesor</a></td>
            
          </tr>
          <tr>
          <!-- COMENTADO EL MENU MIENTRAS TANTO 
            <td colspan="2">
                <asp:Label ID="Label8" runat="server" Width="377px"></asp:Label>
                <asp:Label ID="Label6" runat="server" Text="Label" Visible="False" 
                    style="text-align: center; font-weight: 700" ForeColor="#009933"></asp:Label>
              </td>-->
              
              <caption>
                  &nbsp;
                  <tr>
                      <td colspan="2" style="text-align: center">
                          &nbsp;<asp:Label ID="LabelError" runat="server" ForeColor="#009933" 
                              style="text-align: center; font-weight: 700" Text="Label" Visible="False"></asp:Label>
                      </td>
                  </tr>
              </caption>
          </tr>
          <tr>
            <td colspan="2">   
                <fieldset><legend style="font-weight: 700"><strong>Inscribir Profesor en Escuela</strong></legend>    <br />
                     <table align="center">
            <tr>
                <td class="style14" align="left">
                    <asp:Label ID="LabelMateria" runat="server" class="texto" Text="Label" 
                        Visible="False"></asp:Label>
                </td>
            </tr>
                   <tr> 
                   <td class="style14">
                       <asp:Label ID="asterisSeleccionProfesor" runat="server" ForeColor="Red" style="font-weight: 700" 
                           Text="* "></asp:Label>
                       <asp:Label ID="LabelSeleccion" runat="server" Text="Seleccione el profesor:"></asp:Label>
                       </td>
                       <td style="width: 185px">
                           <asp:DropDownList ID="seleccionarProfesor" runat="server" width="200px">
                           </asp:DropDownList>
                       </td>
                       <td style="width: 225px">
                       </td>
                   </tr>
                   
            <tr>
                <td class="style14" align="left">
                    <asp:Label ID="LabelProfesor" runat="server" Text="Label" class="texto" 
                        Visible="False"></asp:Label>
                </td>
            </tr>

                  <tr> 
                   <td class="style14">
                       <asp:Label ID="errorSeleccionarProfesor" runat="server" Text="Label" width="150px" Visible="false" ForeColor="Red"></asp:Label>
                      </td>
                      <td style="width: 185px">
                          &nbsp;</td>
                      <td style="width: 225px">
                      </td>
                   </tr>
            <tr>
                <td class="style14">
                    <asp:Label ID="asterisCargo" runat="server" ForeColor="Red" style="font-weight: 700" visible="false"
                        Text="* "></asp:Label>
                    <asp:Label ID="Cargo" runat="server" Text="Cargo" Visible="false" Width="200px"></asp:Label>
                </td>
                <td style="width: 185px">
                    <asp:DropDownList ID="DropCargo" runat="server" Visible="false" Width="200px">
                    </asp:DropDownList>
                </td>
                <td style="width: 225px">&nbsp;</td>
            </tr>

                         <tr>
                             <td class="style14">
                                 <asp:Label ID="errorCargo" runat="server" Text="Label" Visible="false" ForeColor="Red"
                                     width="150px"></asp:Label>
                             </td>
                             <td style="width: 185px">
                                 &nbsp;</td>
                             <td style="width: 225px">
                                 &nbsp;</td>
                         </tr>

                         <tr>
                             <td class="style14">
                                 <asp:Label ID="asterisInicioContrato" runat="server" ForeColor="Red" visible="false"
                                     style="font-weight: 700" Text="* "></asp:Label>
                                 <asp:Label ID="inicioContrato" runat="server" Text="Inicio del Contrato" 
                                     Visible="false" Width="200px"></asp:Label>
                             </td>
                             <td style="width: 185px">
                                 <asp:TextBox ID="textInicioContrato" runat="server" Visible="false" 
                                     Width="200px"></asp:TextBox>
                                 <asp:CalendarExtender ID="textInicioContrato_CalendarExtender" runat="server" 
                                     TargetControlID="textInicioContrato">
                                 </asp:CalendarExtender>
                             </td>
                             <td style="width: 225px">
                                 &nbsp;</td>
                         </tr>
                         <tr>
                             <td class="style14">
                                 <asp:Label ID="errorInicioContrato" runat="server" Text="Label" Visible="false" 
                                     width="150px" ForeColor="Red"></asp:Label>
                             </td>
                             <td style="width: 185px">
                                 &nbsp;</td>
                             <td style="width: 225px">
                                 &nbsp;</td>
                         </tr>
                         <tr>
                             <td class="style14">
                                 <asp:Label ID="asterisFinContrato" runat="server" ForeColor="Red" visible="false"
                                     style="font-weight: 700" Text="* "></asp:Label>
                                 <asp:Label ID="finContrato" runat="server" Text="Fin del Contrato" 
                                     Visible="false" Width="200px"></asp:Label>
                             </td>
                             <td style="width: 185px">
                                 <asp:TextBox ID="textFinContrato" runat="server" Visible="false" Width="200px"></asp:TextBox>
                                 <asp:CalendarExtender ID="textFinContrato_CalendarExtender" runat="server" 
                                     TargetControlID="textFinContrato">
                                 </asp:CalendarExtender>
                             </td>
                             <td style="width: 225px">
                                 &nbsp;</td>
                         </tr>

                         <tr>
                             <td class="style14">
                                 <asp:Label ID="errorFinContrato" runat="server" Text="Label" Visible="false" 
                                     width="150px" ForeColor="Red"></asp:Label>
                             </td>
                             <td style="width: 185px">
                                 &nbsp;</td>
                             <td style="width: 225px">
                                 &nbsp;</td>
                         </tr>

            </table>
                    <br />
                </fieldset><br />     
            </td>
          </tr>
        </table>
  <br />
      <asp:GridView ID="informeProfesor" runat="server" CellPadding="4" ForeColor="#333333" align="center" visible="false"
          GridLines="None">
          <AlternatingRowStyle BackColor="White" />
          <EditRowStyle BackColor="#2461BF" />
          <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
          <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
          <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
          <RowStyle BackColor="#EFF3FB" />
          <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
          <SortedAscendingCellStyle BackColor="#F5F7FB" />
          <SortedAscendingHeaderStyle BackColor="#6D95E1" />
          <SortedDescendingCellStyle BackColor="#E9EBEF" />
          <SortedDescendingHeaderStyle BackColor="#4870BE" />
      </asp:GridView>
  <br />
        <table style="width:100%;">
            <tr>
                <td width="33%" align="right" class="style13">
                    <asp:Button ID="BotonCancelar" runat="server" CssClass="boton" 
                        Text="Anterior" onclick="BotonCancelar_Click" visible="false" />
                </td>
                <td  width="33%" align="center">
                    <asp:Button ID="BotonVolver" runat="server" CssClass="boton" 
                        onclick="BotonVolver_Click" Text="Anterior" visible="false" />
                </td>
                <td  width="33%" align="left">
                    <asp:Button ID="BotonInscribir" runat="server" CssClass="boton" 
                        onclick="BotonInscribir_Click" Text="Inscribir" visible="false" />
                </td>
                <td align="left">
                    &nbsp;</td>
            </tr>
      
          
            <tr>
                <td align="right" class="style13" width="33%">
                    &nbsp;</td>
                <td align="left" width="33%">
                    &nbsp;</td>
                <td align="left" width="33%">
                    &nbsp;</td>
                <td align="left">
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right" class="style13" width="33%">
                    &nbsp;</td>
                <td align="left" width="33%">
                    &nbsp;</td>
                <td align="left" width="33%">
                    &nbsp;</td>
                <td align="left">
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right" class="style13" width="33%">
                    <asp:Button ID="BotonRegresar" runat="server" CssClass="boton" 
                        onclick="botonRegresar_Click" Text="Anterior" />
                </td>
                <td align="left" width="33%">
                    &nbsp;</td>
                <td align="left" width="33%">
                    <asp:Button ID="BotonConsultar" runat="server" CssClass="boton" 
                        onclick="BotonConsultar_Click1" Text="Agregar" />
                </td>
                <td align="left">
                    &nbsp;</td>
            </tr>
      
          
        </table>
           <br />
           <br />
           <br />
    </asp:Panel>
</asp:Content>
